package com.example.demo.bean.dto;

import com.example.demo.bean.bo.Student2BO;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiResponse;
import lombok.Data;

import java.util.List;

/**
 * @author lyc
 * @date 2019/6/5.
 */
@Data
public class StudentDTO {

    @ApiModelProperty(value = "名字",name = "name", required = true,example = "张三")
    private String name;

    @ApiModelProperty("年龄")
    private Integer age;

    @ApiModelProperty("课程")
    List<Student2BO> list;

}